package com.heima.api.behavior;

import com.heima.model.behavior.dtos.UnLikesBehaviorDto;
import com.heima.model.behavior.pojos.ApUnlikesBehavior;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author feng js
 */
public interface ApUnlikesBehaviorControllerApi {
    /**
     * 文章的中不喜欢行为
     * @param dto
     * @return
     */
    ResponseResult unLike(UnLikesBehaviorDto dto);

    /**
     * 查询不喜欢
     * @param articleId
     * @param entryId
     * @return
     */
    ApUnlikesBehavior findUnLikeByArticleIdAndEntryId(Long articleId, Integer entryId);
}
